package com.basic.modules.nykf.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.basic.common.annotation.DictParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 投诉建议实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("n_ykf_customer_complaint_registration")
public class CustomerComplaintRegistrationEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 投诉id(主键)
     */
    @TableId
    private Long complaintId;

    /**
     * 登记时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date djsj;

    /**
     * 投诉渠道(字典)-val
     */
    private String tsqdVal;

    /**
     * 投诉渠道
     */
    @DictParam(field = "tsqdVal", targetField = "tsqdName", dictType = "tsqd")
    private String tsqdName;

    /**
     * 投诉客户对接渠道(字典)-val
     */
    private String tskhdjqdVal;

    /**
     * 投诉客户对接渠道
     */
    @DictParam(field = "tskhdjqdVal", targetField = "tskhdjqdName", dictType = "tskhdjqd")
    private String tskhdjqdName;

    /**
     * 投诉客户对接群名
     */
    private String tskhdjqm;

    /**
     * 投诉问题发生时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date tswtfssj;

    /**
     * 关键词
     */
    private String gjc;

    /**
     * 问题描述
     */
    private String wtms;

    /**
     * 违规问题分部一(字典)-val
     */
    private String wgwtfbyVal;

    /**
     * 违规问题分部一
     */
    @DictParam(field = "wgwtfbyVal", targetField = "wgwtfbyName", dictType = "wgwtfby")
    private String wgwtfbyName;

    /**
     * 违规问题分部二(字典)-val
     */
    private String wgwtfbeVal;

    /**
     * 违规问题分析二
     */
    @DictParam(field = "wgwtfbeVal", targetField = "wgwtfbeName", dictType = "wgwtfbe")
    private String wgwtfbeName;

    /**
     * 指定处理人员
     */
    private String zdclry;

    /**
     * 创建人
     */
    private String cjr;

    /**
     * 分页查询,不是实际表中字段
     */
    @TableField(exist = false)
    private String keyword;

    @TableField(exist = false)
    private List<Map> customizeQueryCondition;


}
